import request from '@/utils/request'

export function riskStoreroomList(data) { //表格查询
  return request({
    url: '/project-management/api/risk/archive/page',
    method: 'POST',
    data
  })
}
//原 del
export function riskStoreroomDelete(id) { //删除
  return request({
    url: '/project-management/api/risk/archive/del/'+id,
    method: 'get',
  })
}
export function riskStoreroomExport(data) { //导出
    return request({
        url: '/project-management/api/risk/archive/export',
        responseType: 'arraybuffer',
        method: 'POST',
        data,
    })
}